﻿using System.Collections.Generic;

namespace CI.Models.Data
{
    public class Item : KeyedDynamicBase
    {
        public override int Key
        {
            get { return TypeID; }
        }

        public Item() { Materials = new List<Material>(); }
        public int TypeID { get; set; }
        public int GroupID { get; set; }
        public string TypeName { get; set; }
        public string Description { get; set; }
        public int GraphicID { get; set; }
        public decimal Volume { get; set; }
        public decimal Capacity { get; set; }
        public int PortionSize { get; set; }
        public int RaceID { get; set; }
        public decimal BasePrice { get; set; }
        public bool Published { get; set; }
        public int MarketGroupID { get; set; }

        public Blueprint Blueprint { get; set; }
        public Schematic Schematic { get; set; }
        public IList<Material> Materials { get; set; }
    }
}